package com.csit.dao;

import java.util.Date;
import java.util.Map;

import com.csit.bean.Pager;
import com.csit.entity.Sale;
import com.csit.entity.SaleDetail;

public interface SaleDetailDao extends BaseDao<SaleDetail, Integer> {

	public Pager querySaleDetail(Pager pager,Sale sale,Date beginDate,Date endDate);
	
	public Pager querySaleDetail(Pager pager,Sale sale,SaleDetail saleDetail,Date beginDate,Date endDate);
	
	public Map<String,Double> queryTotal(Sale sale,SaleDetail saleDetail,Date beginDate,Date endDate);
	
}
